package be.music.tool.alert;

import be.music.tool.time.Time;

public abstract class AbstractAlert implements Alert {

	private Time time;
	private boolean isTriggered;
	
	@Override
	public Time getTime() {
		return time;
	}

	@Override
	public void setTime(Time time) {
		this.time = time;
	}

	protected void setTriggered() {
		this.isTriggered = true;
	}
	
	public boolean hasTriggered() {
		return isTriggered;
	}

}
